The SmartType code completion may be used after the "new" keyword to instantiate an object of the expected type. For example, type
StringBuffer buffer = new
(space after "new") and press Ctrl-Shift-Space to see what will happen.